Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Getting and Playing Movies / Disabling Movies and Tracks


GetTrackEnabled

The GetTrackEnabled function allows your application to determine whether a track is currently enabled. The Movie Toolbox services only enabled tracks.

pascal Boolean GetTrackEnabled (Track theTrack);
theTrack
Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as NewMovieTrack and GetMovieTrack (described on page 2-136 and page 2-188, respectively).
DESCRIPTION
The GetTrackEnabled function returns a Boolean value. The function sets this value to true if the track is enabled and false if the track is disabled.

ERROR CODES
invalidTrack-2009This track is corrupted or invalid
SEE ALSO
You can enable a track by calling the SetTrackEnabled function, which is described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996